const inquirer = require('inquirer')
const Xls = require('./service/xls')

// inquirer.prompt([
//   {
//     type: 'Input',
//     name: 'excelPath',
//     message: '请输入要解析的excel地址[绝对地址]:'
//   }
// ]).then((answers) => {
//   const path = "/Users/fengwenqiang/Desktop/cn.xlsx";
//   //const xlsService = new Xls(answers.excelPath)
//   const xlsService = new Xls(path)
//   xlsService.readData()
// })
const path = "lang.xlsx";
const xlsService = new Xls(path)
xlsService.readData()